/**
 * Copyright(c) 2015-2016 by dxg Inc.
 * All Rights Reserved
 */
package com.puhui.chome.job;

import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;

import com.puhui.chome.service.MonitorItemService;
import com.puhui.chome.util.DateUtil;

/**
 * @author dingxingang
 */
public class MonitorJob {

    @Autowired
    private MonitorItemService monitorItemService;

    public void execute() {
        monitorItemService.monitor(DateUtil.getMinuteByDate(new Date()));
    }

}
